package com.ysw.mapper;

import com.ysw.annotation.ExtDelete;
import com.ysw.annotation.ExtInsert;
import com.ysw.annotation.ExtSelect;
import com.ysw.annotation.SQL;
import com.ysw.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StuMapper {

//    List<Student> findAll(@Param("id1")int id,@Param("name1")String name, @Param("sex1")String sex);
//    List<Student> findList();
    Student selectById(int id);
    void insert(Student student);
    void updateById(Student student);
    void deleteById(int id);

}
